data=open("screws.txt").read();
data = data.split("d=\"m ")
data.pop(0)

print "screws_coords = ["
for point in data:
  coords = point.split(" c ")[0]
  x,y=coords.split(",")
  print "\t[ "+ str(float(x)*0.28222) +", "+ str(float(y)*0.28222) +" ],"

print "];"
